package com.srxz.mobilepharmacy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

@Entity
@Table(name="tb_qdmi_hospital")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Hospital implements Serializable {
    @Id
    @Column(name = "hid")
    private Integer hid;
    @Column(name = "aid")
    private BigInteger aid;
    @Column(name = "name")
    private String name;
    @Column(name = "addr")
    private String addr;
    @Column(name = "email")
    private String email;
    @Column(name = "tel")
    private String tel;
    @Column(name = "ceo")
    private String ceo;
    @Column(name = "ceoTel")
    private String ceoTel;
    @Column(name = "contact")
    private String contact;
    @Column(name = "conTel")
    private String conTel;
    @Column(name = "miID")
    private String miID;
    @Column(name = "miSN")
    private String miSN;
    @Column(name = "pid")
    private Integer pid;
    @Column(name = "note")
    private String note;
    @Column(name = "defPos")
    private String defPos;
    @Column(name = "defPayee")
    private String defPayee;
    @Column(name = "defUIVN")
    private String defUIVN;
    @Column(name = "st")
    private Integer st;
    @Column(name = "createon")
    private Date createon;
    @Column(name = "auid")
    private BigInteger auid;
}
